﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <!-- Hier werden Einträge für Ressourcenverzeichnisse definiert. -->
    <!-- Resources scoped at the Application level should be defined here. -->
    <LinearGradientBrush x:Key="CenterContentBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7E7E7E" Offset="0"/>
        <GradientStop Color="White" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="BrushGridUnderChrome"
		EndPoint="0.5,1"
		StartPoint="0.5,0">
        <GradientStop Color="#D2000F2D"
			Offset="1" />
        <GradientStop Color="#43FFFFFF" />
        <GradientStop Color="#E87F8796"
			Offset="0.5" />
    </LinearGradientBrush>
    <Style x:Key="AccordionContainerStyleLawBot"
		TargetType="toolkit:AccordionItem">
        <Setter Property="BorderThickness"
			Value="1" />
        <Setter Property="BorderBrush"
			Value="#FFECECEC" />
        <Setter Property="Background"
			Value="{StaticResource BrushGridUnderChrome}" />
        <Setter Property="Margin"
			Value="0" />
        <Setter Property="Padding"
			Value="0" />
        <Setter Property="HorizontalAlignment"
			Value="Stretch" />
        <Setter Property="VerticalAlignment"
			Value="Stretch" />
        <Setter Property="HorizontalContentAlignment"
			Value="Left" />
        <Setter Property="VerticalContentAlignment"
			Value="Top" />
        <Setter Property="IsTabStop"
			Value="False" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="toolkit:AccordionItem">
                    <Grid HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
						VerticalAlignment="{TemplateBinding VerticalAlignment}"
						Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0" />
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="Pressed" />
                                <VisualState x:Name="MouseOver" />
                                <VisualState x:Name="Disabled" />
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused" />
                                <VisualState x:Name="Unfocused" />
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ExpansionStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0" />
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Collapsed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(ExpandableContentControl.Percentage)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.3"
												Value="0"
												KeySpline="0.2,0,0,1" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00.3"
											Duration="00:00:00"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Expanded">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(ExpandableContentControl.Percentage)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.3"
												Value="1"
												KeySpline="0.2,0,0,1" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="LockedStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0" />
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="Locked">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="IsEnabled">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="False" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unlocked">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="IsEnabled">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="True" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="ExpandDirectionStates">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition GeneratedDuration="0" />
                                </VisualStateGroup.Transitions>
                                <VisualState x:Name="ExpandDown">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="rd1"
											Storyboard.TargetProperty="Height">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="cd0"
											Storyboard.TargetProperty="Width">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ExpandUp">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="(Grid.Row)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.Row)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="0" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="rd0"
											Storyboard.TargetProperty="Height">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="cd0"
											Storyboard.TargetProperty="Width">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ExpandLeft">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="(Grid.ColumnSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.ColumnSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="(Grid.RowSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="2" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.RowSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="2" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="(Grid.Column)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.Row)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="0" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="rd0"
											Storyboard.TargetProperty="Height">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="cd0"
											Storyboard.TargetProperty="Width">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ExpandRight">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="(Grid.ColumnSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.ColumnSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpanderButton"
											Storyboard.TargetProperty="(Grid.RowSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="2" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.RowSpan)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="2" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.Row)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="0" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="ExpandSite"
											Storyboard.TargetProperty="(Grid.Column)">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="1" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="rd0"
											Storyboard.TargetProperty="Height">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
											Storyboard.TargetName="cd1"
											Storyboard.TargetProperty="Width">
                                            <DiscreteObjectKeyFrame KeyTime="0"
												Value="*" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="Background"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="1,1,1,1"
							Padding="{TemplateBinding Padding}">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition x:Name="rd0"
										Height="30" />
                                    <RowDefinition x:Name="rd1"
										Height="Auto" />
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition x:Name="cd0"
										Width="Auto" />
                                    <ColumnDefinition x:Name="cd1"
										Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <toolkit:AccordionButton x:Name="ExpanderButton"
									Background="{TemplateBinding Background}"
									FontFamily="{TemplateBinding FontFamily}"
									FontSize="{TemplateBinding FontSize}"
									FontStretch="{TemplateBinding FontStretch}"
									FontStyle="{TemplateBinding FontStyle}"
									FontWeight="{TemplateBinding FontWeight}"
									Foreground="{TemplateBinding Foreground}"
									HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
									IsTabStop="True"
									Padding="0,0,0,0"
									VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
									HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
									Margin="0,0,0,0"
									Style="{TemplateBinding AccordionButtonStyle}"
									VerticalAlignment="{TemplateBinding VerticalAlignment}"
									Content="{TemplateBinding Header}"
									ContentTemplate="{TemplateBinding HeaderTemplate}"
									Grid.Row="0"
									IsChecked="{TemplateBinding IsSelected}" />
                                <toolkit:ExpandableContentControl x:Name="ExpandSite"
									FontFamily="{TemplateBinding FontFamily}"
									FontSize="{TemplateBinding FontSize}"
									FontStretch="{TemplateBinding FontStretch}"
									FontStyle="{TemplateBinding FontStyle}"
									FontWeight="{TemplateBinding FontWeight}"
									Foreground="{TemplateBinding Foreground}"
									HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
									IsTabStop="False"
									VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
									HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
									Margin="0,0,0,0"
									Style="{TemplateBinding ExpandableContentControlStyle}"
									VerticalAlignment="{TemplateBinding VerticalAlignment}"
									Content="{TemplateBinding Content}"
									ContentTemplate="{TemplateBinding ContentTemplate}"
									Grid.Row="1"
									Percentage="0"
									RevealMode="{TemplateBinding ExpandDirection}" />
                            </Grid>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="AccordionButtonControlTemplate1"
		TargetType="toolkit:AccordionButton">
        <Grid Margin="{TemplateBinding Padding}"
			Background="Transparent">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="ExpandDirectionStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition GeneratedDuration="0" />
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="ExpandDown">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="cd0"
								Storyboard.TargetProperty="Width">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="Auto" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="cd1"
								Storyboard.TargetProperty="Width">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="*" />
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimation BeginTime="00:00:00"
								Duration="00:00:00"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
								To="-90" />
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="ExpandUp">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="cd0"
								Storyboard.TargetProperty="Width">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="*" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="cd1"
								Storyboard.TargetProperty="Width">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="Auto" />
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimation BeginTime="00:00:00"
								Duration="00:00:00"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
								To="90" />
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="ExpandLeft">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="rd0"
								Storyboard.TargetProperty="Height">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="Auto" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="rd1"
								Storyboard.TargetProperty="Height">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="*" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="LayoutTransform">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <TransformGroup>
                                            <RotateTransform Angle="90" />
                                        </TransformGroup>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimation BeginTime="00:00:00"
								Duration="00:00:00"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
								To="0" />
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="ExpandRight">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="1" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="(Grid.Row)">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="0" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="rd0"
								Storyboard.TargetProperty="Height">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="*" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="rd1"
								Storyboard.TargetProperty="Height">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="Auto" />
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="0"
								Duration="0"
								Storyboard.TargetName="header"
								Storyboard.TargetProperty="LayoutTransform">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <TransformGroup>
                                            <RotateTransform Angle="-90" />
                                        </TransformGroup>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimation BeginTime="00:00:00"
								Duration="00:00:00"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
								To="180" />
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="ExpansionStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition GeneratedDuration="0" />
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="Collapsed">
                        <Storyboard>
                            <DoubleAnimation BeginTime="00:00:00"
								Duration="00:00:00.3"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
								To="0" />
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Expanded">
                        <Storyboard>
                            <DoubleAnimation BeginTime="00:00:00"
								Duration="00:00:00.3"
								Storyboard.TargetName="icon"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"
								To="90" />
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="ExpandedBackground"
								Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00"
									Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="CheckStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition GeneratedDuration="00:00:00" />
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="Checked" />
                    <VisualState x:Name="Unchecked" />
                    <VisualState x:Name="Indeterminate">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                <EasingColorKeyFrame KeyTime="00:00:00"
									Value="#FF242424" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition GeneratedDuration="0" />
                        <VisualTransition From="MouseOver"
							GeneratedDuration="00:00:00.1"
							To="Normal" />
                        <VisualTransition GeneratedDuration="00:00:00.1"
							To="MouseOver" />
                        <VisualTransition GeneratedDuration="00:00:00.1"
							To="Pressed" />
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="Normal" />
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="MouseOverBackground"
								Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00"
									Value="0.3" />
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="MouseOverBackground"
								Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <EasingColorKeyFrame KeyTime="00:00:00"
									Value="#52BCC5D6" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                <EasingColorKeyFrame KeyTime="00:00:00"
									Value="#FF242424" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                <EasingColorKeyFrame KeyTime="00:00:00"
									Value="#E8C69871" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="arrow1"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                <EasingColorKeyFrame KeyTime="00:00:00"
									Value="#FF242424" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled">
                        <Storyboard />
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Focused">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Duration="0"
								Storyboard.TargetName="FocusVisualElement"
								Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0"
									Value="Visible" />
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
								Duration="00:00:00.0010000"
								Storyboard.TargetName="FocusVisualElement"
								Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00"
									Value="0.385" />
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimation Duration="0" To="#FF242424" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="FocusVisualElement" d:IsOptimized="True"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Unfocused" />
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="background"
				Background="{TemplateBinding Background}"
				CornerRadius="1" BorderBrush="#FF242424" BorderThickness="1,0">
                <Grid>
                    <Grid.Background>
                        <LinearGradientBrush EndPoint="0.5,1"
							StartPoint="0.5,0">
                            <GradientStop Color="#FF242424" Offset="0.03" />
                            <GradientStop Color="#85FFFFFF"
								Offset="0.04" />
                            <GradientStop Color="#FF242424"
								Offset="0.97" />
                            <GradientStop Color="#87FAFAFA" Offset="0.96"/>
                        </LinearGradientBrush>
                    </Grid.Background>
                    <Border x:Name="ExpandedBackground"
						Height="Auto"
						Margin="0,0,0,0"
						VerticalAlignment="Stretch"
						Opacity="0"
						BorderBrush="{TemplateBinding BorderBrush}"
						BorderThickness="{TemplateBinding BorderThickness}"
						CornerRadius="1,1,1,1">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1"
								StartPoint="0.5,0">
                                <GradientStop Color="#FF242424"
									Offset="1" />
                                <GradientStop Color="#43FFFFFF" />
                                <GradientStop Color="#7F242424"
									Offset="0.5" />
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Border x:Name="MouseOverBackground"
						Height="Auto"
						Margin="0,0,0,0"
						VerticalAlignment="Stretch"
						Opacity="0"
						BorderBrush="{TemplateBinding BorderBrush}"
						BorderThickness="{TemplateBinding BorderThickness}"
						CornerRadius="1,1,1,1">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1"
								StartPoint="0.5,0">
                                <GradientStop Color="#FF242424"
									Offset="1" />
                                <GradientStop Color="#FF242424" />
                                <GradientStop Color="#E8DCCFA3"
									Offset="0.269" />
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Grid Background="Transparent">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Name="cd0"
								Width="Auto" />
                            <ColumnDefinition x:Name="cd1"
								Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Name="rd0"
								Height="30" />
                            <RowDefinition x:Name="rd1"
								Height="Auto" />
                        </Grid.RowDefinitions>
                        <Grid x:Name="icon"
							Height="24"
							HorizontalAlignment="Center"
							VerticalAlignment="Center"
							Width="24"
							RenderTransformOrigin="0.5,0.5"
							Grid.Column="0"
							Grid.Row="0">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform />
                                    <SkewTransform />
                                    <RotateTransform Angle="-90" />
                                    <TranslateTransform />
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path x:Name="arrow1"
								StrokeThickness="2"
								HorizontalAlignment="Center"
								Margin="0,0,0,0"
								VerticalAlignment="Center"
								RenderTransformOrigin="0.5,0.5"
								Data="M1,3.3857355 C4.6951585,10.154483 2.9172528,6.5499024 4.6201668,10.130569 C6.4518251,6.4660697 4.639833,10.217317 8.1040516,3.437736 C5.3853335,0.52636641 4.302,-0.11551738 1,3.3857355 z"
								UseLayoutRounding="False"
								Stroke="#FF242424"
								Fill="#E8C2B37C" Height="12.1" Width="9.104" Visibility="Collapsed">
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform />
                                        <SkewTransform />
                                        <RotateTransform />
                                        <TranslateTransform />
                                    </TransformGroup>
                                </Path.RenderTransform>
                            </Path>
                            <Path x:Name="arrow" Data="M3.894043,3.8413086 C4.2055664,3.8413086 4.5117188,3.866374 4.8125,3.9165039 C5.1132813,3.9666348 5.4265947,4.0436201 5.7524414,4.1474609 L5.7524414,5.1894531 L5.6987305,5.1894531 C5.4910479,5.0927734 5.2180176,4.9907227 4.8796387,4.8833008 C4.5412598,4.7758789 4.155436,4.722168 3.722168,4.722168 C3.2674153,4.722168 2.8887532,4.8045249 2.5861816,4.9692383 C2.2836099,5.1339521 2.1323242,5.3720708 2.1323242,5.6835938 C2.1323242,5.8876958 2.1708169,6.0533047 2.2478027,6.1804199 C2.3247883,6.3075361 5.8867188,11.731445 5.8867188,12.053711 C5.8867188,12.329427 5.8276367,12.59082 5.7094727,12.837891 C5.5913086,13.084961 5.4158525,13.298015 5.1831055,13.477051 C4.925293,13.677571 4.6227212,13.826172 4.2753906,13.922852 C3.9280596,14.019531 3.5323892,14.067871 3.0883789,14.067871 C2.7768555,14.067871 2.4715981,14.043701 2.1726074,13.995361 C1.8736165,13.947021 1.5594075,13.867351 1.2299805,13.756348 L1.2299805,12.714355 L1.2836914,12.714355 C1.5665689,12.846843 1.8691405,12.957845 2.1914063,13.047363 C2.5136719,13.136882 2.8681641,13.181641 3.2548828,13.181641 C3.7347004,13.181641 4.1196289,13.094808 4.409668,12.921143 C4.699707,12.747478 4.8447266,12.504883 4.8447266,12.193359 C4.8447266,11.992839 4.8098145,11.834392 4.7399902,11.718018 C4.670166,11.601644 1.090332,6.1580405 1.090332,5.8393555 C1.090332,5.5493164 1.1476237,5.2870283 1.262207,5.0524902 C1.3767903,4.8179531 1.5540364,4.607585 1.7939453,4.4213867 C2.0231118,4.2423506 2.3158364,4.1009121 2.6721191,3.9970703 C3.0284014,3.8932295 3.4357095,3.8413086 3.894043,3.8413086 z" RenderTransformOrigin="0.5,0.5" Stretch="Fill" UseLayoutRounding="False" Width="5.605" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center">
                                <Path.Fill>
                                    <SolidColorBrush Color="#FF6B6759">
                                        <SolidColorBrush.RelativeTransform>
                                            <MatrixTransform Matrix="Identity"/>
                                        </SolidColorBrush.RelativeTransform>
                                        <SolidColorBrush.Transform>
                                            <MatrixTransform Matrix="Identity"/>
                                        </SolidColorBrush.Transform>
                                    </SolidColorBrush>
                                </Path.Fill>
                                <Path.RenderTransform>
                                    <CompositeTransform Rotation="90" TranslateX="0.19749999046325684" TranslateY="-0.19749999046325684"/>
                                </Path.RenderTransform>
                            </Path>
                            <Ellipse Fill="#A7C2B37C" Stroke="#99242424" Canvas.ZIndex="-1" Margin="2"/>
                        </Grid>
                        <toolkit:LayoutTransformer x:Name="header"
							FontFamily="{TemplateBinding FontFamily}"
							FontSize="{TemplateBinding FontSize}"
							FontStretch="{TemplateBinding FontStretch}"
							FontStyle="{TemplateBinding FontStyle}"
							FontWeight="{TemplateBinding FontWeight}"
							Foreground="{TemplateBinding Foreground}"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="6,6,6,0"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							Grid.Column="1"
							Grid.Row="0"
							Grid.RowSpan="1" />
                    </Grid>
                </Grid>
            </Border>
            <Rectangle x:Name="FocusVisualElement"
				Stroke="#FF6DBDD1"
				StrokeThickness="1"
				RadiusX="1"
				RadiusY="1"
				IsHitTestVisible="false"
				Visibility="Collapsed" />
        </Grid>
    </ControlTemplate>
    <Style x:Key="AccordionButtonStyleLawBot_2"
		TargetType="toolkit:AccordionButton">
        <Setter Property="BorderThickness"
			Value="0" />
        <Setter Property="Background"
			Value="White" />
        <Setter Property="HorizontalAlignment"
			Value="Stretch" />
        <Setter Property="VerticalAlignment"
			Value="Stretch" />
        <Setter Property="HorizontalContentAlignment"
			Value="Center" />
        <Setter Property="VerticalContentAlignment"
			Value="Center" />
        <Setter Property="IsTabStop"
			Value="True" />
        <Setter Property="TabNavigation"
			Value="Once" />
        <Setter Property="Template"
			Value="{StaticResource AccordionButtonControlTemplate1}" />
    </Style>
    <DropShadowEffect x:Key="AccordioItemDropShadow" Color="#FF3A3A3A" ShadowDepth="3" Opacity="0.8"/>
    <Style x:Key="NewAccordionStyle" TargetType="toolkit:Accordion">
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="BorderBrush" Value="#FFEAEAEA"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="Cursor" Value="Arrow"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="TabNavigation" Value="Once"/>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <StackPanel VerticalAlignment="Top"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="toolkit:Accordion">
                    <Grid x:Name="Root">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Pressed"/>
                                <VisualState x:Name="MouseOver"/>
                                <VisualState x:Name="Disabled"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused"/>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}">
                            <ScrollViewer BorderBrush="Transparent" BorderThickness="0" Background="{x:Null}" HorizontalScrollBarVisibility="Disabled" IsTabStop="False" Margin="0" Padding="0" VerticalScrollBarVisibility="Disabled">
                                <ItemsPresenter/>
                            </ScrollViewer>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>